new Vue({
   el:"#vue-app",
    data:{
       name:"",
       age:""
    },
    methods:{
        logName:function () {
            this.name = this.$refs.name.value;
        }
    }
});